<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html>
<head>
	<meta http-equiv="cache-control" content="no-store, must-reva lidate"/>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>EMBA云2015你有啥梦想</title>
	<link type="text/css" rel="stylesheet" href="/Public/Home/css/global.css">
	<link type="text/css" rel="stylesheet" href="/Public/Home/css/layout.css">
	<script type="text/javascript" src="/Public/Home/Support/js/jquery-1.7.2.min.js"></script>
	<link rel="stylesheet" type="text/css" href="/Public/Home/js/artDialog4.1.7/skins/black.css"/>
	<script type="text/javascript" src="/Public/Home/js/artDialog4.1.7/artDialog.js"></script>
	<script type="text/javascript" src="/Public/Home/js/artDialog4.1.7/artDialog.config.js"></script>
	<meta content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
	
<!-- 	<script type="text/javascript" src="/Public/Home/js/learn.js"></script> -->
	
	<script type="text/javascript">
		function changeClass(){
			var manager_id = $('select[name="class_manager_id"] option:selected').val();
		 	$.ajax ({
				url:'/Common/changeClass',
				data:'manager_id='+manager_id,
				type:'post',
				success:function(result){
					window.location.reload();
				}
			}); 
		}
	</script>
</head>

<body>
	<!-- header start -->
	<div class="header">
		<div class="header_top">
		    <div class="header_top_logo"><a href="index.html"><!-- <img alt="智慧高校公众平台" src="/Public/images/header_logo.png"> -->EMBA云2015你有啥梦想活动</a></div>
		    <div class="header_top_text">
		    
		    	<!-- <img class="imgmiddle" src="/Public/Home/images/ico_user.png"> -->
		    	<strong></strong><!-- <a class="mr10 ml10" style="color:#fff" href="#" onclick="passwordInput(<?php echo (session('user_id')); ?>);return false;">修改密码</a> -->
		    	<a class="blue" style="color:#fff" href="/Admin/loginOut.html">[退出]</a>
		    </div>
		</div>
	  
	  	<!-- 主导航 start -->
		<div class="header_nav">
		    <ul>
		    <style>
				.header_nav ul li {
				    float: left;
				    margin-right: 2px;
				}
			</style>
	  	 		<li><a href="/Admin/index">梦想</a></li>
	  	 		<li><a href="/Admin/support">参与者</a></li> 
	  	 		<li><a href="/Admin/statistics">数据</a></li><!-- class="cur" -->
			</ul>
		</div>
	  	<!-- 主导航 end -->
	  	
	</div>
	<!-- header end -->



<div class="content">
    <div id="gd_page_list">
        <div class="content_table mt10 mb10" style="clear:both;">
            <table class="mb10" style="font-size: 14px;">
                <tbody>
                    <tr style="background: none repeat scroll 0% 0% rgb(232, 249, 255);">
                        <th width="10%">序号</th>
                        <th>姓名</th>
                        <th>微信昵称</th>
                        <th>openid</th>
                        <th>首次参与时间</th>
                        <th>支持梦想数</th>
                        <th>操作</th>
                    </tr>
                <?php if(!empty($_list)): if(is_array($_list)): $k = 0; $__LIST__ = $_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($k % 2 );++$k;?><tr>
                            <td><?php echo ($index_num + 1 + $key); ?></td>
                            <td><?php echo ($vo["weixin_name"]); ?></td>
                            <td><?php echo ($vo["brower_name"]); ?></td>
                            <td><?php echo ($vo["open_id"]); ?></td>
                            <td><?php echo (date("Y-m-d H:i:s",$vo["create_date"])); ?></td>
                            <td><?php echo ($vo["support_count"]); ?></td>
                            <td>	
                                <a class="delete_button" href="/Admin/doDeleteSupport/id/<?php echo ($vo["suport_user_id"]); ?>.html">删除</a>
                            </td>
                        </tr><?php endforeach; endif; else: echo "" ;endif; ?>
                    <?php else: ?>
                    <tr>
                        <th colspan="7" class="taskStatus">暂无数据</th>
                    </tr><?php endif; ?>
                </tbody>
            </table>
        </div>
        <div class="manu" id="ajax_page_end"><?php echo ($_page); ?></div>
    </div>
    <input id="export_button" type="button" value="导出表格" class="btn">
</div>
<script type="text/javascript">
    $(document).ready(function () {
        $('.delete_button').click(function () {
            if (confirm('确认删除该参与者极其所有支持信息？')) {
                return true;
            } else {
                return false;
            }
        });
        $('#export_button').click(function() {
            window.location.href = '/Admin/doExportExcel.html';
        });
    });
</script>
<script type="text/javascript" src="/Public/Home/js/tr.js"></script>